module ForumHelper
  def delete_topic_tag(topic)
    if @activeuser.user_id==topic.user_id
      render :partial =>"/forum/topic_tag" ,:locals => {:topic => topic}
    else
      "&nbsp;"
    end
  end
  
  def delete_reply_tag(reply)
    if @activeuser.user_id==reply.user_id
      render :partial =>"/forum/reply_tag" ,:locals => {:reply => reply}
    else
      "&nbsp;"
    end
  end
end
